﻿<UserControl x:Class="TestIText.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <ScrollViewer>
            <StackPanel Orientation="Vertical" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment" Margin="12,12,12,0">
                <TextBlock Text="V1 Book Samples" FontWeight="Black"/>
                <TextBlock Text="Chapter 4:" Margin="2, 8,0,0"/>
                <Button Content="list" Height="23" x:Name="button1" VerticalAlignment="Bottom" Click="button3_Click" Margin="0,4,0,0" />
                <Button Content="color" Height="23" x:Name="button2" VerticalAlignment="Top" Click="button1_Click" />
                <Button Content="space ratio" x:Name="button3" Click="button2_Click" Height="22" VerticalAlignment="Top" Margin="0,4,0,0" />
                <Button Content="skewing" x:Name="button4" Height="22" VerticalAlignment="Top" Margin="0,4,0,0" Click="button4_Click" />
                <TextBlock Text="Chapter 7:" Margin="2, 8,0,0"/>
                <Button Content="Irregular Columns" x:Name="button6" Height="22" VerticalAlignment="Top" Margin="0,4,0,0" Click="button6_Click" />
                <TextBlock Text="Chapter 8:" Margin="2, 8,0,0"/>
                <Button Content="Std Typ1 Fonts-AFM" x:Name="button5" Height="22" VerticalAlignment="Top" Margin="0,4,0,0" Click="button5_Click" />
            </StackPanel>
        </ScrollViewer>
        <Canvas x:Name="canvasDrawing" Grid.Column="2" Margin="8,8,0,0" HorizontalAlignment="Left" Height="200" VerticalAlignment="Top" Width="200">
            <Ellipse Height="100" Width="200" Fill="Aqua"/>
            <Rectangle Canvas.Top="50" Canvas.Left="50" Height="125" Width="100" Fill="Red"/>
            <Path Stroke="Green" Fill="Green" Canvas.Left="45" Canvas.Top="75" Data="M12,12 L12,40 L40,50 L60,25 L25,60 L25,100 L100,100 L100,0 L50,-25 L12,12"/>
        </Canvas>
        <Rectangle Grid.Column="1" Fill="#FFD2D2D2" Stroke="Black" Width="1" StrokeThickness="0"/>
        <Button x:Name="buttonCreateTestPdf" Content="Create PDF from Element" Grid.Column="2" Margin="8,212,0,0" Click="buttonCreateTestPdf_Click" HorizontalAlignment="Left" Width="178" VerticalAlignment="Top"/>
    </Grid>

</UserControl>
